<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>

<div id="app">
 <cpn1></cpn1>
</div>

<script src="../js/vue%20.js"></script>
<script>
  Vue.component('cpn1',{
    template: `
      <div>
        <h1>我是标题2</h1>
        <p>我是内容,哈哈哈哈哈哈</p>
        <cpnC></cpnC>
        <p>我是内容,呵呵呵呵呵呵呵呵呵呵</p>
      </div>`,
  })

  const app = new Vue({
    el:'#app',
    data:{
      message:'hello',
      movies:['火影忍者','海贼王']
    },
  })
</script>
</body>
</html>